﻿using System.Collections.Generic;
using System.Runtime.Serialization;
using Microsoft.Xna.Framework;


namespace Babylon.Animations.Skeleton.Serialization
{
    
    [DataContract]
    public class SkinningData
    {
#if !SILVERLIGHT
        [Microsoft.Xna.Framework.Content.ContentSerializer]
#endif
        [DataMember]
        public Dictionary<string, AnimationClipData> AnimationClips { get; set; }
#if !SILVERLIGHT
        [Microsoft.Xna.Framework.Content.ContentSerializer]
#endif
        [DataMember]
        public Matrix[] BindPose { get; set; }
#if !SILVERLIGHT
        [Microsoft.Xna.Framework.Content.ContentSerializer]
#endif
        [DataMember]
        public Matrix[] InverseBindPose { get; set; }
#if !SILVERLIGHT
        [Microsoft.Xna.Framework.Content.ContentSerializer]
#endif
        [DataMember]
        public int[] SkeletonHierarchy { get; set; }
    }
}
